﻿using AiMoBridge.Interface;
using AiMoWindows.Localization;

namespace AiMoWindows.Compiler
{
    class ExecutorInfo(string path, IDebugPrinter printer, IEnumerable<string> externalAssemblies) : IExecutorInfo
    {
        public string AssemblyPath { get; } = path;
        public bool LangInCN => Local.RunningInChinese;
        public IDebugPrinter Printer { get; } = printer;
        public string[] ExternalAssembliesPaths { get; } = externalAssemblies.Where(x => !string.IsNullOrWhiteSpace(x)).ToArray();
    }
}
